package gof_001_创建型_Create.gof_002_工厂方法_FactoryMethod.gof_001_Normal;

public class Main {
    public static void main(String[] args) {
        /**
         * 分别创建 3 个类,3个对象
         */
        CPU_i3 i3 = new CPU_i3();
        CPU_i5 i5 = new CPU_i5();
        CPU_i7 i7 = new CPU_i7();

        i3.calc();
        i5.calc();
        i7.calc();
    }
}
